Skip to content

Removed Squiz.Commenting.ClassComment since it does not cover all Magento cases #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 31, 2019

Conversation

lenaorobei
Copy link
Contributor

@lenaorobei lenaorobei commented May 31, 2019

As per upcoming updates magento/devdocs#4425 Squiz.Commenting.ClassComment does not cover Magento 2 requirements and produces false positive findings.

Related tasks:

@lenaorobei lenaorobei requested a review from paliarush May 31, 2019 14:21
@@ -493,13 +493,6 @@
<severity>5</severity>
<type>warning</type>
</rule>
<rule ref="Squiz.Commenting.ClassComment">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have our custom sniff enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, those Annotation sniffs are still under dev/tests/static.
Once new will be implemented here, I'll remove the old ones.
https://github.com/magento/magento2/blob/2.3-develop/dev/tests/static/framework/Magento/ruleset.xml#L12

@lenaorobei lenaorobei merged commit b2eee1a into develop May 31, 2019
@lenaorobei lenaorobei deleted the remove-class-comment-sniff branch May 31, 2019 20:15
magento-devops-reposync-svc pushed a commit that referenced this pull request Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants